[INFO] fetching crate tcp-stream-capture 0.2.0...
[INFO] fixing tcp-stream-capture-0.2.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate tcp-stream-capture 0.2.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate tcp-stream-capture 0.2.0
[INFO] finished tweaking crates.io crate tcp-stream-capture 0.2.0
[INFO] tweaked toml for crates.io crate tcp-stream-capture 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tcp-stream-capture 0.2.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tcp-stream-capture 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2549c6fcca6ed8f1083cdb74e59f529a29aa6bf3379eab95281d6225d4aaab61
[INFO] running `Command { std: "docker" "start" "2549c6fcca6ed8f1083cdb74e59f529a29aa6bf3379eab95281d6225d4aaab61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2549c6fcca6ed8f1083cdb74e59f529a29aa6bf3379eab95281d6225d4aaab61" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2549c6fcca6ed8f1083cdb74e59f529a29aa6bf3379eab95281d6225d4aaab61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2549c6fcca6ed8f1083cdb74e59f529a29aa6bf3379eab95281d6225d4aaab61" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.84
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling scratch v1.0.7
[INFO] [stderr]    Compiling cxxbridge-flags v1.0.122
[INFO] [stderr]    Compiling unicode-width v0.1.12
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling link-cplusplus v1.0.9
[INFO] [stderr]    Compiling cxx v1.0.122
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling pcapplusplus-sys v0.1.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]    Compiling cxx-build v1.0.122
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling cxxbridge-macro v1.0.122
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling tcp-stream-capture v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `tcp_stream_capture`
[INFO] [stderr]  --> src/capture.rs
[INFO] [stderr]   = cause: error: expected one of `!`, `+`, `::`, `;`, `where`, or `{`, found keyword `unsafe`
[INFO] [stderr]               --> src/capture.rs:87:49
[INFO] [stderr]                |
[INFO] [stderr]             81 |     unsafe extern "C++" {
[INFO] [stderr]                |                         - while parsing this item list starting here
[INFO] [stderr]            ...
[INFO] [stderr]             87 |         fn get_live_devices() -> Vec<LiveDevice>unsafe ;
[INFO] [stderr]                |                                                 ^^^^^^ expected one of `!`, `+`, `::`, `;`, `where`, or `{`
[INFO] [stderr]            ...
[INFO] [stderr]            121 |     }
[INFO] [stderr]                |     - the item list ends here
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected `;`
[INFO] [stderr]              --> src/capture.rs:87:49
[INFO] [stderr]               |
[INFO] [stderr]            87 |         fn get_live_devices() -> Vec<LiveDevice>unsafe ;
[INFO] [stderr]               |                                                 ^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0432]: unresolved import `ffi`
[INFO] [stderr]             --> src/capture.rs:6:9
[INFO] [stderr]              |
[INFO] [stderr]            6 | pub use ffi::MacAddress;
[INFO] [stderr]              |         ^^^
[INFO] [stderr]              |
[INFO] [stderr]            help: a similar path exists
[INFO] [stderr]              |
[INFO] [stderr]            6 | pub use std::ffi::MacAddress;
[INFO] [stderr]              |         +++++
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 3 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:87:49
[INFO] [stdout]    |
[INFO] [stdout] 87 |         fn get_live_devices() -> Vec<LiveDevice>;
[INFO] [stdout]    |                                                 ^
[INFO] [stdout]    |                                                 |
[INFO] [stdout]    |                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout]    = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:90:50
[INFO] [stdout]    |
[INFO] [stdout] 90 |         fn find_by_name(name: &str) -> LiveDevice;
[INFO] [stdout]    |                                                  ^
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:91:46
[INFO] [stdout]    |
[INFO] [stdout] 91 |         fn find_by_ip(ip: &str) -> LiveDevice;
[INFO] [stdout]    |                                              ^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:92:62
[INFO] [stdout]    |
[INFO] [stdout] 92 |         fn find_by_ip_or_name(ip_or_name: &str) -> LiveDevice;
[INFO] [stdout]    |                                                              ^
[INFO] [stdout]    |                                                              |
[INFO] [stdout]    |                                                              help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:94:53
[INFO] [stdout]    |
[INFO] [stdout] 94 |         fn name(self: &LiveDevice) -> Result<String>;
[INFO] [stdout]    |                                                     ^
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:95:62
[INFO] [stdout]    |
[INFO] [stdout] 95 |         fn mac_address(self: &LiveDevice) -> OptionMacAddress;
[INFO] [stdout]    |                                                              ^
[INFO] [stdout]    |                                                              |
[INFO] [stdout]    |                                                              help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:96:58
[INFO] [stdout]    |
[INFO] [stdout] 96 |         fn ipv4_address(self: &LiveDevice) -> Ipv4Address;
[INFO] [stdout]    |                                                          ^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:97:58
[INFO] [stdout]    |
[INFO] [stdout] 97 |         fn ipv6_address(self: &LiveDevice) -> Ipv6Address;
[INFO] [stdout]    |                                                          ^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:98:61
[INFO] [stdout]    |
[INFO] [stdout] 98 |         fn ip_addresses(self: &LiveDevice) -> Vec<IpAddress>;
[INFO] [stdout]    |                                                             ^
[INFO] [stdout]    |                                                             |
[INFO] [stdout]    |                                                             help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:103:65
[INFO] [stdout]     |
[INFO] [stdout] 103 |         fn get_conn_src_addr(conn: &ConnectionData) -> IpAddress;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:104:65
[INFO] [stdout]     |
[INFO] [stdout] 104 |         fn get_conn_dst_addr(conn: &ConnectionData) -> IpAddress;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:105:59
[INFO] [stdout]     |
[INFO] [stdout] 105 |         fn get_conn_src_port(conn: &ConnectionData) -> u16;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:106:59
[INFO] [stdout]     |
[INFO] [stdout] 106 |         fn get_conn_dst_port(conn: &ConnectionData) -> u16;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:107:59
[INFO] [stdout]     |
[INFO] [stdout] 107 |         fn get_conn_flow_key(conn: &ConnectionData) -> u32;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:108:65
[INFO] [stdout]     |
[INFO] [stdout] 108 |         fn get_conn_start_time(conn: &ConnectionData) -> Timeval;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:109:63
[INFO] [stdout]     |
[INFO] [stdout] 109 |         fn get_conn_end_time(conn: &ConnectionData) -> Timeval;
[INFO] [stdout]     |                                                               ^
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:113:100
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                    ^
[INFO] [stdout]     |                                                                                                    |
[INFO] [stdout]     |                                                                                                    help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:114:96
[INFO] [stdout]     |
[INFO] [stdout] 114 |         fn capture_from_file(filename: &[u8], ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                ^
[INFO] [stdout]     |                                                                                                |
[INFO] [stdout]     |                                                                                                help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:116:87
[INFO] [stdout]     |
[INFO] [stdout] 116 |         fn set_filter(self: Pin<&mut TcpStreamCapture>, filter: &str) -> CaptureResult;
[INFO] [stdout]     |                                                                                       ^
[INFO] [stdout]     |                                                                                       |
[INFO] [stdout]     |                                                                                       help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:117:75
[INFO] [stdout]     |
[INFO] [stdout] 117 |         fn clear_filter(self: Pin<&mut TcpStreamCapture>) -> CaptureResult;
[INFO] [stdout]     |                                                                           ^
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:119:78
[INFO] [stdout]     |
[INFO] [stdout] 119 |         fn start_capturing(self: Pin<&mut TcpStreamCapture>) -> CaptureResult;
[INFO] [stdout]     |                                                                              ^
[INFO] [stdout]     |                                                                              |
[INFO] [stdout]     |                                                                              help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:120:60
[INFO] [stdout]     |
[INFO] [stdout] 120 |         fn stop_capturing(self: Pin<&mut TcpStreamCapture>);
[INFO] [stdout]     |                                                            ^
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:113:99
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                   ^
[INFO] [stdout]     |                                                                                                   |
[INFO] [stdout]     |                                                                                                   help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:25:49
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:41:49
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:47:34
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:47:49
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         type Context;
[INFO] [stdout]    |              ^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:65:132
[INFO] [stdout]    |
[INFO] [stdout] 65 |         fn on_tcp_message(ctx: &Context, conn: &ConnectionData, side: i8, payload: &[u8], missing_bytes: usize, timestamp: Timeval);
[INFO] [stdout]    |                                                                                                                                    ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:66:73
[INFO] [stdout]    |
[INFO] [stdout] 66 |         fn on_tcp_connection_start(ctx: &Context, conn: &ConnectionData);
[INFO] [stdout]    |                                                                         ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:67:71
[INFO] [stdout]    |
[INFO] [stdout] 67 |         fn on_tcp_connection_end(ctx: &Context, conn: &ConnectionData);
[INFO] [stdout]    |                                                                       ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:69:39
[INFO] [stdout]    |
[INFO] [stdout] 69 |         fn log_error_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn log_error(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:71:38
[INFO] [stdout]    |
[INFO] [stdout] 71 |         fn log_warn_enabled() -> bool;
[INFO] [stdout]    |                                      ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:72:41
[INFO] [stdout]    |
[INFO] [stdout] 72 |         fn log_warn(message: &CxxString);
[INFO] [stdout]    |                                         ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:73:38
[INFO] [stdout]    |
[INFO] [stdout] 73 |         fn log_info_enabled() -> bool;
[INFO] [stdout]    |                                      ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 |         fn log_info(message: &CxxString);
[INFO] [stdout]    |                                         ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:75:39
[INFO] [stdout]    |
[INFO] [stdout] 75 |         fn log_debug_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:76:42
[INFO] [stdout]    |
[INFO] [stdout] 76 |         fn log_debug(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:77:39
[INFO] [stdout]    |
[INFO] [stdout] 77 |         fn log_trace_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |         fn log_trace(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:87:48
[INFO] [stdout]    |
[INFO] [stdout] 87 |         fn get_live_devices() -> Vec<LiveDevice>;
[INFO] [stdout]    |                                                ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:98:60
[INFO] [stdout]    |
[INFO] [stdout] 98 |         fn ip_addresses(self: &LiveDevice) -> Vec<IpAddress>;
[INFO] [stdout]    |                                                            ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/capture.rs:113:67
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                   ^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `tcp_stream_capture`
[INFO] [stderr]  --> src/capture.rs
[INFO] [stderr]   = cause: error: expected one of `!`, `+`, `::`, `;`, `where`, or `{`, found keyword `unsafe`
[INFO] [stderr]               --> src/capture.rs:87:49
[INFO] [stderr]                |
[INFO] [stderr]             81 |     unsafe extern "C++" {
[INFO] [stderr]                |                         - while parsing this item list starting here
[INFO] [stderr]            ...
[INFO] [stderr]             87 |         fn get_live_devices() -> Vec<LiveDevice>unsafe ;
[INFO] [stderr]                |                                                 ^^^^^^ expected one of `!`, `+`, `::`, `;`, `where`, or `{`
[INFO] [stderr]            ...
[INFO] [stderr]            121 |     }
[INFO] [stderr]                |     - the item list ends here
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected `;`
[INFO] [stderr]              --> src/capture.rs:87:49
[INFO] [stderr]               |
[INFO] [stderr]            87 |         fn get_live_devices() -> Vec<LiveDevice>unsafe ;
[INFO] [stderr]               |                                                 ^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0432]: unresolved import `ffi`
[INFO] [stderr]             --> src/capture.rs:6:9
[INFO] [stderr]              |
[INFO] [stderr]            6 | pub use ffi::MacAddress;
[INFO] [stderr]              |         ^^^
[INFO] [stderr]              |
[INFO] [stderr]            help: a similar path exists
[INFO] [stderr]              |
[INFO] [stderr]            6 | pub use std::ffi::MacAddress;
[INFO] [stderr]              |         +++++
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 3 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]    Migrating examples/cap_live.rs from 2021 edition to 2024
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:87:49
[INFO] [stdout]    |
[INFO] [stdout] 87 |         fn get_live_devices() -> Vec<LiveDevice>;
[INFO] [stdout]    |                                                 ^
[INFO] [stdout]    |                                                 |
[INFO] [stdout]    |                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout]    = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:90:50
[INFO] [stdout]    |
[INFO] [stdout] 90 |         fn find_by_name(name: &str) -> LiveDevice;
[INFO] [stdout]    |                                                  ^
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:91:46
[INFO] [stdout]    |
[INFO] [stdout] 91 |         fn find_by_ip(ip: &str) -> LiveDevice;
[INFO] [stdout]    |                                              ^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:92:62
[INFO] [stdout]    |
[INFO] [stdout] 92 |         fn find_by_ip_or_name(ip_or_name: &str) -> LiveDevice;
[INFO] [stdout]    |                                                              ^
[INFO] [stdout]    |                                                              |
[INFO] [stdout]    |                                                              help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:94:53
[INFO] [stdout]    |
[INFO] [stdout] 94 |         fn name(self: &LiveDevice) -> Result<String>;
[INFO] [stdout]    |                                                     ^
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:95:62
[INFO] [stdout]    |
[INFO] [stdout] 95 |         fn mac_address(self: &LiveDevice) -> OptionMacAddress;
[INFO] [stdout]    |                                                              ^
[INFO] [stdout]    |                                                              |
[INFO] [stdout]    |                                                              help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:96:58
[INFO] [stdout]    |
[INFO] [stdout] 96 |         fn ipv4_address(self: &LiveDevice) -> Ipv4Address;
[INFO] [stdout]    |                                                          ^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:97:58
[INFO] [stdout]    |
[INFO] [stdout] 97 |         fn ipv6_address(self: &LiveDevice) -> Ipv6Address;
[INFO] [stdout]    |                                                          ^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/capture.rs:98:61
[INFO] [stdout]    |
[INFO] [stdout] 98 |         fn ip_addresses(self: &LiveDevice) -> Vec<IpAddress>;
[INFO] [stdout]    |                                                             ^
[INFO] [stdout]    |                                                             |
[INFO] [stdout]    |                                                             help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:103:65
[INFO] [stdout]     |
[INFO] [stdout] 103 |         fn get_conn_src_addr(conn: &ConnectionData) -> IpAddress;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:104:65
[INFO] [stdout]     |
[INFO] [stdout] 104 |         fn get_conn_dst_addr(conn: &ConnectionData) -> IpAddress;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:105:59
[INFO] [stdout]     |
[INFO] [stdout] 105 |         fn get_conn_src_port(conn: &ConnectionData) -> u16;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:106:59
[INFO] [stdout]     |
[INFO] [stdout] 106 |         fn get_conn_dst_port(conn: &ConnectionData) -> u16;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:107:59
[INFO] [stdout]     |
[INFO] [stdout] 107 |         fn get_conn_flow_key(conn: &ConnectionData) -> u32;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:108:65
[INFO] [stdout]     |
[INFO] [stdout] 108 |         fn get_conn_start_time(conn: &ConnectionData) -> Timeval;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:109:63
[INFO] [stdout]     |
[INFO] [stdout] 109 |         fn get_conn_end_time(conn: &ConnectionData) -> Timeval;
[INFO] [stdout]     |                                                               ^
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:113:100
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                    ^
[INFO] [stdout]     |                                                                                                    |
[INFO] [stdout]     |                                                                                                    help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:114:96
[INFO] [stdout]     |
[INFO] [stdout] 114 |         fn capture_from_file(filename: &[u8], ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                ^
[INFO] [stdout]     |                                                                                                |
[INFO] [stdout]     |                                                                                                help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:116:87
[INFO] [stdout]     |
[INFO] [stdout] 116 |         fn set_filter(self: Pin<&mut TcpStreamCapture>, filter: &str) -> CaptureResult;
[INFO] [stdout]     |                                                                                       ^
[INFO] [stdout]     |                                                                                       |
[INFO] [stdout]     |                                                                                       help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:117:75
[INFO] [stdout]     |
[INFO] [stdout] 117 |         fn clear_filter(self: Pin<&mut TcpStreamCapture>) -> CaptureResult;
[INFO] [stdout]     |                                                                           ^
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:119:78
[INFO] [stdout]     |
[INFO] [stdout] 119 |         fn start_capturing(self: Pin<&mut TcpStreamCapture>) -> CaptureResult;
[INFO] [stdout]     |                                                                              ^
[INFO] [stdout]     |                                                                              |
[INFO] [stdout]     |                                                                              help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:120:60
[INFO] [stdout]     |
[INFO] [stdout] 120 |         fn stop_capturing(self: Pin<&mut TcpStreamCapture>);
[INFO] [stdout]     |                                                            ^
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]    --> src/capture.rs:113:99
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                   ^
[INFO] [stdout]     |                                                                                                   |
[INFO] [stdout]     |                                                                                                   help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:25:49
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:41:49
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:47:34
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:47:49
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         type Context;
[INFO] [stdout]    |              ^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:65:132
[INFO] [stdout]    |
[INFO] [stdout] 65 |         fn on_tcp_message(ctx: &Context, conn: &ConnectionData, side: i8, payload: &[u8], missing_bytes: usize, timestamp: Timeval);
[INFO] [stdout]    |                                                                                                                                    ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:66:73
[INFO] [stdout]    |
[INFO] [stdout] 66 |         fn on_tcp_connection_start(ctx: &Context, conn: &ConnectionData);
[INFO] [stdout]    |                                                                         ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:67:71
[INFO] [stdout]    |
[INFO] [stdout] 67 |         fn on_tcp_connection_end(ctx: &Context, conn: &ConnectionData);
[INFO] [stdout]    |                                                                       ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:69:39
[INFO] [stdout]    |
[INFO] [stdout] 69 |         fn log_error_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn log_error(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:71:38
[INFO] [stdout]    |
[INFO] [stdout] 71 |         fn log_warn_enabled() -> bool;
[INFO] [stdout]    |                                      ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:72:41
[INFO] [stdout]    |
[INFO] [stdout] 72 |         fn log_warn(message: &CxxString);
[INFO] [stdout]    |                                         ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:73:38
[INFO] [stdout]    |
[INFO] [stdout] 73 |         fn log_info_enabled() -> bool;
[INFO] [stdout]    |                                      ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 |         fn log_info(message: &CxxString);
[INFO] [stdout]    |                                         ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:75:39
[INFO] [stdout]    |
[INFO] [stdout] 75 |         fn log_debug_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:76:42
[INFO] [stdout]    |
[INFO] [stdout] 76 |         fn log_debug(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:77:39
[INFO] [stdout]    |
[INFO] [stdout] 77 |         fn log_trace_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |         fn log_trace(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:87:48
[INFO] [stdout]    |
[INFO] [stdout] 87 |         fn get_live_devices() -> Vec<LiveDevice>;
[INFO] [stdout]    |                                                ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:98:60
[INFO] [stdout]    |
[INFO] [stdout] 98 |         fn ip_addresses(self: &LiveDevice) -> Vec<IpAddress>;
[INFO] [stdout]    |                                                            ^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/capture.rs:113:67
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                   ^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/list_devices.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.13s
[INFO] [stderr] crater-edition-check: tcp-stream-capture v0.2.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling tcp-stream-capture v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:87:49
[INFO] [stdout]    |
[INFO] [stdout] 87 |         fn get_live_devices() -> Vec<LiveDevice>;
[INFO] [stdout]    |                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:90:50
[INFO] [stdout]    |
[INFO] [stdout] 90 |         fn find_by_name(name: &str) -> LiveDevice;
[INFO] [stdout]    |                                                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:91:46
[INFO] [stdout]    |
[INFO] [stdout] 91 |         fn find_by_ip(ip: &str) -> LiveDevice;
[INFO] [stdout]    |                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:92:62
[INFO] [stdout]    |
[INFO] [stdout] 92 |         fn find_by_ip_or_name(ip_or_name: &str) -> LiveDevice;
[INFO] [stdout]    |                                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:94:53
[INFO] [stdout]    |
[INFO] [stdout] 94 |         fn name(self: &LiveDevice) -> Result<String>;
[INFO] [stdout]    |                                                     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:95:62
[INFO] [stdout]    |
[INFO] [stdout] 95 |         fn mac_address(self: &LiveDevice) -> OptionMacAddress;
[INFO] [stdout]    |                                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:96:58
[INFO] [stdout]    |
[INFO] [stdout] 96 |         fn ipv4_address(self: &LiveDevice) -> Ipv4Address;
[INFO] [stdout]    |                                                          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:97:58
[INFO] [stdout]    |
[INFO] [stdout] 97 |         fn ipv6_address(self: &LiveDevice) -> Ipv6Address;
[INFO] [stdout]    |                                                          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:98:61
[INFO] [stdout]    |
[INFO] [stdout] 98 |         fn ip_addresses(self: &LiveDevice) -> Vec<IpAddress>;
[INFO] [stdout]    |                                                             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:103:65
[INFO] [stdout]     |
[INFO] [stdout] 103 |         fn get_conn_src_addr(conn: &ConnectionData) -> IpAddress;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:104:65
[INFO] [stdout]     |
[INFO] [stdout] 104 |         fn get_conn_dst_addr(conn: &ConnectionData) -> IpAddress;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:105:59
[INFO] [stdout]     |
[INFO] [stdout] 105 |         fn get_conn_src_port(conn: &ConnectionData) -> u16;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:106:59
[INFO] [stdout]     |
[INFO] [stdout] 106 |         fn get_conn_dst_port(conn: &ConnectionData) -> u16;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:107:59
[INFO] [stdout]     |
[INFO] [stdout] 107 |         fn get_conn_flow_key(conn: &ConnectionData) -> u32;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:108:65
[INFO] [stdout]     |
[INFO] [stdout] 108 |         fn get_conn_start_time(conn: &ConnectionData) -> Timeval;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:109:63
[INFO] [stdout]     |
[INFO] [stdout] 109 |         fn get_conn_end_time(conn: &ConnectionData) -> Timeval;
[INFO] [stdout]     |                                                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:113:100
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:114:96
[INFO] [stdout]     |
[INFO] [stdout] 114 |         fn capture_from_file(filename: &[u8], ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:116:87
[INFO] [stdout]     |
[INFO] [stdout] 116 |         fn set_filter(self: Pin<&mut TcpStreamCapture>, filter: &str) -> CaptureResult;
[INFO] [stdout]     |                                                                                       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:117:75
[INFO] [stdout]     |
[INFO] [stdout] 117 |         fn clear_filter(self: Pin<&mut TcpStreamCapture>) -> CaptureResult;
[INFO] [stdout]     |                                                                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:119:78
[INFO] [stdout]     |
[INFO] [stdout] 119 |         fn start_capturing(self: Pin<&mut TcpStreamCapture>) -> CaptureResult;
[INFO] [stdout]     |                                                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:120:60
[INFO] [stdout]     |
[INFO] [stdout] 120 |         fn stop_capturing(self: Pin<&mut TcpStreamCapture>);
[INFO] [stdout]     |                                                            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:113:99
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:25:49
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:41:49
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:47:34
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:47:49
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         type Context;
[INFO] [stdout]    |              ^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:65:132
[INFO] [stdout]    |
[INFO] [stdout] 65 |         fn on_tcp_message(ctx: &Context, conn: &ConnectionData, side: i8, payload: &[u8], missing_bytes: usize, timestamp: Timeval);
[INFO] [stdout]    |                                                                                                                                    ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:66:73
[INFO] [stdout]    |
[INFO] [stdout] 66 |         fn on_tcp_connection_start(ctx: &Context, conn: &ConnectionData);
[INFO] [stdout]    |                                                                         ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:67:71
[INFO] [stdout]    |
[INFO] [stdout] 67 |         fn on_tcp_connection_end(ctx: &Context, conn: &ConnectionData);
[INFO] [stdout]    |                                                                       ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:69:39
[INFO] [stdout]    |
[INFO] [stdout] 69 |         fn log_error_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn log_error(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:71:38
[INFO] [stdout]    |
[INFO] [stdout] 71 |         fn log_warn_enabled() -> bool;
[INFO] [stdout]    |                                      ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:72:41
[INFO] [stdout]    |
[INFO] [stdout] 72 |         fn log_warn(message: &CxxString);
[INFO] [stdout]    |                                         ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:73:38
[INFO] [stdout]    |
[INFO] [stdout] 73 |         fn log_info_enabled() -> bool;
[INFO] [stdout]    |                                      ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 |         fn log_info(message: &CxxString);
[INFO] [stdout]    |                                         ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:75:39
[INFO] [stdout]    |
[INFO] [stdout] 75 |         fn log_debug_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:76:42
[INFO] [stdout]    |
[INFO] [stdout] 76 |         fn log_debug(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:77:39
[INFO] [stdout]    |
[INFO] [stdout] 77 |         fn log_trace_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |         fn log_trace(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:87:48
[INFO] [stdout]    |
[INFO] [stdout] 87 |         fn get_live_devices() -> Vec<LiveDevice>;
[INFO] [stdout]    |                                                ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:98:60
[INFO] [stdout]    |
[INFO] [stdout] 98 |         fn ip_addresses(self: &LiveDevice) -> Vec<IpAddress>;
[INFO] [stdout]    |                                                            ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/capture.rs:113:67
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                   ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:87:49
[INFO] [stdout]    |
[INFO] [stdout] 87 |         fn get_live_devices() -> Vec<LiveDevice>;
[INFO] [stdout]    |                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:90:50
[INFO] [stdout]    |
[INFO] [stdout] 90 |         fn find_by_name(name: &str) -> LiveDevice;
[INFO] [stdout]    |                                                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:91:46
[INFO] [stdout]    |
[INFO] [stdout] 91 |         fn find_by_ip(ip: &str) -> LiveDevice;
[INFO] [stdout]    |                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:92:62
[INFO] [stdout]    |
[INFO] [stdout] 92 |         fn find_by_ip_or_name(ip_or_name: &str) -> LiveDevice;
[INFO] [stdout]    |                                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:94:53
[INFO] [stdout]    |
[INFO] [stdout] 94 |         fn name(self: &LiveDevice) -> Result<String>;
[INFO] [stdout]    |                                                     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:95:62
[INFO] [stdout]    |
[INFO] [stdout] 95 |         fn mac_address(self: &LiveDevice) -> OptionMacAddress;
[INFO] [stdout]    |                                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:96:58
[INFO] [stdout]    |
[INFO] [stdout] 96 |         fn ipv4_address(self: &LiveDevice) -> Ipv4Address;
[INFO] [stdout]    |                                                          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:97:58
[INFO] [stdout]    |
[INFO] [stdout] 97 |         fn ipv6_address(self: &LiveDevice) -> Ipv6Address;
[INFO] [stdout]    |                                                          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/capture.rs:98:61
[INFO] [stdout]    |
[INFO] [stdout] 98 |         fn ip_addresses(self: &LiveDevice) -> Vec<IpAddress>;
[INFO] [stdout]    |                                                             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:103:65
[INFO] [stdout]     |
[INFO] [stdout] 103 |         fn get_conn_src_addr(conn: &ConnectionData) -> IpAddress;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:104:65
[INFO] [stdout]     |
[INFO] [stdout] 104 |         fn get_conn_dst_addr(conn: &ConnectionData) -> IpAddress;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:105:59
[INFO] [stdout]     |
[INFO] [stdout] 105 |         fn get_conn_src_port(conn: &ConnectionData) -> u16;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:106:59
[INFO] [stdout]     |
[INFO] [stdout] 106 |         fn get_conn_dst_port(conn: &ConnectionData) -> u16;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:107:59
[INFO] [stdout]     |
[INFO] [stdout] 107 |         fn get_conn_flow_key(conn: &ConnectionData) -> u32;
[INFO] [stdout]     |                                                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:108:65
[INFO] [stdout]     |
[INFO] [stdout] 108 |         fn get_conn_start_time(conn: &ConnectionData) -> Timeval;
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:109:63
[INFO] [stdout]     |
[INFO] [stdout] 109 |         fn get_conn_end_time(conn: &ConnectionData) -> Timeval;
[INFO] [stdout]     |                                                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:113:100
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:114:96
[INFO] [stdout]     |
[INFO] [stdout] 114 |         fn capture_from_file(filename: &[u8], ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:116:87
[INFO] [stdout]     |
[INFO] [stdout] 116 |         fn set_filter(self: Pin<&mut TcpStreamCapture>, filter: &str) -> CaptureResult;
[INFO] [stdout]     |                                                                                       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:117:75
[INFO] [stdout]     |
[INFO] [stdout] 117 |         fn clear_filter(self: Pin<&mut TcpStreamCapture>) -> CaptureResult;
[INFO] [stdout]     |                                                                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:119:78
[INFO] [stdout]     |
[INFO] [stdout] 119 |         fn start_capturing(self: Pin<&mut TcpStreamCapture>) -> CaptureResult;
[INFO] [stdout]     |                                                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:120:60
[INFO] [stdout]     |
[INFO] [stdout] 120 |         fn stop_capturing(self: Pin<&mut TcpStreamCapture>);
[INFO] [stdout]     |                                                            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> src/capture.rs:113:99
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                                                   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:25:49
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:41:49
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:47:34
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                  ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:47:49
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]    |                                                 ^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         type Context;
[INFO] [stdout]    |              ^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:65:132
[INFO] [stdout]    |
[INFO] [stdout] 65 |         fn on_tcp_message(ctx: &Context, conn: &ConnectionData, side: i8, payload: &[u8], missing_bytes: usize, timestamp: Timeval);
[INFO] [stdout]    |                                                                                                                                    ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:66:73
[INFO] [stdout]    |
[INFO] [stdout] 66 |         fn on_tcp_connection_start(ctx: &Context, conn: &ConnectionData);
[INFO] [stdout]    |                                                                         ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:67:71
[INFO] [stdout]    |
[INFO] [stdout] 67 |         fn on_tcp_connection_end(ctx: &Context, conn: &ConnectionData);
[INFO] [stdout]    |                                                                       ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:69:39
[INFO] [stdout]    |
[INFO] [stdout] 69 |         fn log_error_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |         fn log_error(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:71:38
[INFO] [stdout]    |
[INFO] [stdout] 71 |         fn log_warn_enabled() -> bool;
[INFO] [stdout]    |                                      ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:72:41
[INFO] [stdout]    |
[INFO] [stdout] 72 |         fn log_warn(message: &CxxString);
[INFO] [stdout]    |                                         ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:73:38
[INFO] [stdout]    |
[INFO] [stdout] 73 |         fn log_info_enabled() -> bool;
[INFO] [stdout]    |                                      ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 |         fn log_info(message: &CxxString);
[INFO] [stdout]    |                                         ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:75:39
[INFO] [stdout]    |
[INFO] [stdout] 75 |         fn log_debug_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:76:42
[INFO] [stdout]    |
[INFO] [stdout] 76 |         fn log_debug(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:77:39
[INFO] [stdout]    |
[INFO] [stdout] 77 |         fn log_trace_enabled() -> bool;
[INFO] [stdout]    |                                       ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |         fn log_trace(message: &CxxString);
[INFO] [stdout]    |                                          ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:87:48
[INFO] [stdout]    |
[INFO] [stdout] 87 |         fn get_live_devices() -> Vec<LiveDevice>;
[INFO] [stdout]    |                                                ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/capture.rs:98:60
[INFO] [stdout]    |
[INFO] [stdout] 98 |         fn ip_addresses(self: &LiveDevice) -> Vec<IpAddress>;
[INFO] [stdout]    |                                                            ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/capture.rs:113:67
[INFO] [stdout]     |
[INFO] [stdout] 113 |         fn capture_from_live(device: &LiveDevice, ctx: Box<Context>) -> UniquePtr<TcpStreamCapture>;
[INFO] [stdout]     |                                                                   ^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tcp-stream-capture` (lib) due to 48 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tcp-stream-capture` (lib test) due to 48 previous errors
[INFO] running `Command { std: "docker" "inspect" "2549c6fcca6ed8f1083cdb74e59f529a29aa6bf3379eab95281d6225d4aaab61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2549c6fcca6ed8f1083cdb74e59f529a29aa6bf3379eab95281d6225d4aaab61", kill_on_drop: false }`
[INFO] [stdout] 2549c6fcca6ed8f1083cdb74e59f529a29aa6bf3379eab95281d6225d4aaab61
